package com.ruoyi.project.order.service.impl;


import com.ruoyi.project.order.domain.HisOrderChargeItem;
import com.ruoyi.project.order.mapper.HisOrderChargeItemMapper;
import com.ruoyi.project.order.service.HisOrderChargeItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HisOrderChargeItemServiceImpl implements HisOrderChargeItemService {

    @Autowired
    private HisOrderChargeItemMapper itemMapper;

    @Override
    public int insertHisOrderChargeItem(HisOrderChargeItem orderChargeItem) {
     return    itemMapper.insertHisOrderChargeItem(orderChargeItem);
    }

    @Override
    public List<HisOrderChargeItem> selectListById(String orderId) {
        return itemMapper.selectListById(orderId);
    }
}
